<template>
  <div>
    <!-- 顶部导航 -->
    <film-nav />
    <!-- 子路由显示 -->
    <!-- 巧用keep-alive完成对于路由组件的缓存，从而减少网络请求，提升性能 -->
    <keep-alive>
      <router-view />
    </keep-alive>
  </div>
</template>

<script>
import filmNav from './ui/filmNav'
export default {
  components: {
    filmNav
  }
}
</script>

<style lang="scss" scoped></style>
